﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Kind.List" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>

<form id="pageForm" method="post" class="pageForm" runat="Server">
<%=_framePage.TabInfoHtml()%>

<div class="pageHeader">
	<div class="searchBar">
		<ul class="searchContent">
		</ul>
	    <div class="subBar">
			<ul>
			<li>
			    <a class="button" target="dialog" mask="true" href="/SystemManage/Basics/Menu/MenuHelpInfo.aspx?id=<%= _framePage.NavTabId %>"><span>&nbsp;帮&nbsp;助&nbsp;</span></a>
			</li>
			<li>
			    <a class="buttonActive" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>
			</ul>
	    </div>
	</div>
</div>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add"  href="/SystemManage/Basics/Kind/Add.aspx" target="navTab" rel="addkind" title="类别-增加"><span>添加</span></a></li>
			<li><a class="edit"  href="/SystemManage/Basics/Kind/Edit.aspx?uid={uid}" target="navTab" rel="editkind" title="类别-编辑"><span>编辑</span></a></li>
            <li><a class="delete" href="/SystemManage/Basics/Kind/Delete.aspx?ajax=dels" target="selectedTodo" title="请确定要删除"><span>删除勾选</span></a></li>
		</ul>
	</div>
	
	<div class="tableList" layoutH="116">
	<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="10%">类别ID</th>
				<th width="10%">类别名称</th>
				<th width="10%">相关配置</th>
				<th width="20%">列表页面</th>
				<th width="20%">明细页面</th>
				<th width="20%">后台管理页面</th>
				<th width="10%">操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="repList">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("Id")%>>
                    <td><input name="ids" value="<%#Eval("Id")%>" type="checkbox"/></td>
				    <td><%# Eval("Id")%></td>
				    <td><%# Eval("KindText")%></td>
				    <td><%# Eval("ConfigId")%></td>
				    <td><%# Eval("ListPage")%></td>
				    <td><%# Eval("DetailPage")%></td>
				    <td><%# Eval("ManagePage")%></td>
				    <td> 
				        <a href="/SystemManage/Basics/Kind/Edit.aspx?uid=<%# Eval("Id")%>" onclick="ZLAN_DWZ_EX.open(this);" target="navTab" title="类别-编辑" rel="editkind">编辑</a>&nbsp;&nbsp;
				        <a href="/SystemManage/Basics/Kind/Delete.aspx?uid=<%# Eval("Id")%>" onclick="ZLAN_DWZ_EX.open(this);" target="ajaxTodo" title="请确定要删除" warn="请选择一项">删除</a>
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>

	</div>
	
     <%= _framePage.GetPagerContentHtml()%>
</div>
</form>